package com.tyut.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tyut.common.annotation.Excel;
import com.tyut.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 项目管理对象 tyut_project
 * 
 * @author tyut
 * @date 2023-11-21
 */
public class TyutProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目类型(横向 纵向 教改) 1 2 3 */
    @Excel(name = "项目类型(横向 纵向 教改) 1 2 3")
    private Long projectType;

    /** 项目所属级别(国家级 省/市级 校级) 1 2 3 */
    @Excel(name = "项目所属级别(国家级 省/市级 校级) 1 2 3")
    private Long projectLevel;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String projectLeader;

    /** 项目参与者 */
    @Excel(name = "项目参与者")
    private String projectParticipant;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String number;

    /** 项目状态 */
    @Excel(name = "项目状态")
    private String status;

    /** 项目经费/万元 */
    @Excel(name = "项目经费/万元")
    private Long funds;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectType(Long projectType) 
    {
        this.projectType = projectType;
    }

    public Long getProjectType() 
    {
        return projectType;
    }
    public void setProjectLevel(Long projectLevel) 
    {
        this.projectLevel = projectLevel;
    }

    public Long getProjectLevel() 
    {
        return projectLevel;
    }
    public void setProjectLeader(String projectLeader) 
    {
        this.projectLeader = projectLeader;
    }

    public String getProjectLeader() 
    {
        return projectLeader;
    }
    public void setProjectParticipant(String projectParticipant) 
    {
        this.projectParticipant = projectParticipant;
    }

    public String getProjectParticipant() 
    {
        return projectParticipant;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setFunds(Long funds) 
    {
        this.funds = funds;
    }

    public Long getFunds() 
    {
        return funds;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectType", getProjectType())
            .append("projectLevel", getProjectLevel())
            .append("projectLeader", getProjectLeader())
            .append("projectParticipant", getProjectParticipant())
            .append("number", getNumber())
            .append("status", getStatus())
            .append("funds", getFunds())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
